<%@ Page Title="Application Control Panel" Language="C#" MasterPageFile="~/Views/Shared/Application.Master" Inherits="System.Web.Mvc.ViewPage<DomainModel.Entities.Application>" %>

<asp:Content ContentPlaceHolderID="TitleContent" runat="server">
	Application Control Panel
</asp:Content>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">

<% using (Html.BeginForm("Index", "Application"))
   { %>
      <% if (ViewData["error"] != "") {  %>
     <p><label class="staffingexperterror" for="JobTitle"><%= Html.Encode(TempData["error"])%></label></p>
   <% } %>
    <h2>Welcome to AES's Application System!</h2>
    
    <p><%= Html.TextArea("EULA", "By applying for a job you accept our terms and conditions.", new { @class = "staffingexpert", @style = "width: 610px; height: 300px" })%></p>
 
     <p><%= Html.ActionLink("Apply", "Edit", new { Model.ApplicationID })%></p>
    
<% } %>

</asp:Content>

